package com.linkhub.oms.admin.modules.user.domain.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * @Description: UserInfoWrapper
 * @Author: echo
 * @Date: 2024/3/6 16:12
 * @Version: 1.0
 */
@Data
@ApiModel("UserInfoWrapper")
public class UserInfoWrapper implements Serializable {

    @ApiModelProperty(value = "用户id")
    private String userId;

    @ApiModelProperty(value = "邮箱")
    private String email;

    @ApiModelProperty(value = "用户名")
    private String userName;

    @ApiModelProperty(value = "是否在白名单里")
    private boolean vip;

    @ApiModelProperty(value = "用户角色" +
            "- 超管：100\n" +
            "- 员工：101\n" +
            "- 客户：102\n" +
            "- 财务：103")
    private List<String> roleCodes;


}
